package com.foreveross.project.usercenterserver.oauth2.service;

import org.springframework.security.core.Authentication;

import javax.servlet.http.HttpServletRequest;

/**
 * @author: yz
 * @Date: 2019/7/11 1:37 PM
 */
public interface RbacAuthorityService {
     boolean hasPermission(HttpServletRequest request, Authentication authentication);
}
